<?php

namespace Saber\Helper\Http;


use Saber\Helper\Basis\Collection;

class Result
{

    /**
     * @var string
     */
    private $result;

    /**
     * @var Collection
     */
    private $result_object;

    public function __construct (string $result) {

        $this->result        = $result;
        $this->result_object = new Collection($this->result);
    }

    public function getResult () : string {

        return $this->result;
    }

    public function getResultObject () : Collection {
        return $this->result_object;
    }


}
